package com.ruicar.afs.cloud.filecenter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruicar.afs.cloud.filecenter.entity.AfsFileChunkInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * FileChunkInfo
 * <p>Description: </p>
 *
 * @author Fzero
 * @version 1.0
 * @date create on 20200102 12:23:45
 * @since 1.0
 */
public interface FileChunkInfoMapper extends BaseMapper<AfsFileChunkInfo> {
    boolean addChunkInfo(AfsFileChunkInfo afsFileChunkInfo);
    List<AfsFileChunkInfo> queryByMd5(@Param("chunkedId") String md5);
}
